package com.gk.panda.apis.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gk.panda.apis.dto.OperationLogDto;
import com.gk.panda.pojo.OperationLog;

import javax.servlet.http.HttpServletResponse;

public interface LogService extends IService<OperationLog> {

    /**
     * 分页查询操作日志
     * @param dto
     * @return
     */
    Page<OperationLog> listOperationLog(OperationLogDto dto);

    /**
     * 导出操作日志
     * @param response
     */
    void export(HttpServletResponse response);
}
